   <template>
     <el-select v-model="selectedValue">
       <el-option
         v-for="option in options"
         :key="option.value"
         :label="option.label"
         :value="option.value"
       />
     </el-select>
   </template>

   <script>
   import { defineComponent, reactive, toRefs } from 'vue';

   export default defineComponent({
     name: 'MySelect',
     props: {
       options: {
         type: Array,
         required: true,
       },
     },
     setup(props) {
       const state = reactive({
         selectedValue: null,
       });
       return {
        ...toRefs(state),
         options: props.options,
       };
     },
   });
   </script>